import request from "@/utils/request";

// 交通地铁搜索条件
export const getTraffic = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getTraffic",
    method: "get",
    params: params,
  });
};
// 主干道搜索条件
export const getHighStreetSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getHighStreetSelect",
    method: "get",
    params: params,
  });
};
// 医院搜索条件
export const getHospitalSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getHospitalSelect",
    method: "get",
    params: params,
  });
};

// 商圈搜索条件
export const getBusinessSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getBusinessSelect",
    method: "get",
    params: params,
  });
};
// 学区搜索条件
export const getSchoolList = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getSchoolSelect",
    method: "get",
    params: params,
  });
};
// 更多搜索条件
export const moreInfo = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/moreInfo",
    method: "get",
    params: params,
  });
};

// 周边搜索条件
export const getLocational = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getLocational",
    method: "get",
    params: params,
  });
};

//项目信息
export const selectGisProjectList = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectGisProjectList",
    method: "post",
    data: params,
  });
};
// 点击小区-小区详情弹窗-基本信息/成交信息/周边设施
export const selectProjectInfo = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectProjectInfo",
    method: "get",
    params: params,
  });
};

// 画线搜索
export const selectDrawList = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectDrawList",
    method: "post",
    data: params,
  });
};

// 房产评估 - 项目下拉
export const selectAllProjectListSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectAllProjectListSelect",
    method: "get",
    params: params,
  });
};

// 房产评估 - 标签下拉
export const getTagSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getTagSelect",
    method: "get",
    params: params,
  });
};

// 房产评估 - 获取沈阳下区位信息
export const getMapSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getMapSelect",
    method: "get",
    params: params,
  });
};

// 房产评估 - 查询项目返回信息
export const selectProjectResultInfo = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectProjectResultInfo",
    method: "get",
    params: params,
  });
};

// 项目详情 - 楼栋下拉
export const getLdSelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getLdSelect",
    method: "get",
    params: params,
  });
};

// 项目详情 - 单元下拉
export const getdySelect = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getdySelect",
    method: "get",
    params: params,
  });
};

// 项目详情 - 查询楼房信息
export const selectBuildInfo = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectBuildInfo",
    method: "get",
    params: params,
  });
};

// 项目详情 - 房屋评估价格
export const buildEvaluationItem = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/buildEvaluationItem",
    method: "get",
    params: params,
  });
};

// 房产评估 - 评估
export const selectEvaluationItem = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectEvaluationItem",
    method: "post",
    data: params,
  });
};

// 查询echarts图表
export const selectEcharts = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectEcharts",
    method: "post",
    data: params,
  });
};

// 查询区位信息（地图最高层信息）
export const selectAreaProjectList = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/selectAreaProjectList",
    method: "get",
    params: params,
  });
};

// vr看房
export const getHxt = (params: any) => {
  return request({
    url: "/screen/gisProjectNew/getHxt",
    method: "get",
    params: params,
  });
};
